import React from 'react';
import './index.less';
import {connect} from "dva";
import Curd from "components/Curd";
import createColumns from './columns';
import SearchColumns from './searchColumns'


@connect(({testDataHistory}) => ({testDataHistory}))
export default class extends Curd {

  static defaultProps = {
    showToolbar: false,
    showNum: true,
    bordered: false,
    selectType: 'none',
  }

  getNamespace() {
    return 'testDataHistory';
  }

  getTableColumns() {
    return createColumns(this);
  }

  getSearchColumns() {
    return SearchColumns(this);
  }

}
